package com.example.event_resource_java.authority.dao.StatisticDao;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @ClassName LearnRecordsDao
 * @Description: 学习详情记录表
 * @Author: ak
 * @CreateDate: 2024/4/20 14:29
 * @UpdateUser:
 * @UpdateDate: 2024/4/20 14:29
 * @UpdateRemark:
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LearnRecordsDao {
    @NotNull
    private Long id;

    private Long classId;

    /** 会员id */
    private Long userId;

    /** 赛项资源id */
    private Long allocationId;

    private Long allocationsId;

    /** 赛项资源名称 */
    private String allocationTitle;

    /** 赛项模块id*/
    private Long eveMoId;

    /** 最近观看时间 */
    private String latestTime;

    /** 观看时长 单位：秒 */
    private Integer watchedTime;

    /** 视频总时长 单位：秒 */
    private Integer totalTime;

    /** 是否完成（0 已完成 1 未完成）*/
    private Integer state;

}
